package com.chen106106.sstest.common.memcached;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author zhenai
 * 2012-7-18 下午2:05:13
 */
public interface Cache {

    public abstract void set(String s, Object obj, int i);

    public abstract Object get(String s);

    public abstract Map getMulti(List list);

    public abstract Object[] getMulti(String as[]);

    public abstract boolean exists(String s);

    public abstract void delete(String s);
}
